package com.code.train.service;

import com.code.train.req.MemberLoginReq;
import com.code.train.req.MemberRegisterReq;
import com.code.train.req.MemberSendCodeReq;
import com.code.train.resp.MemberLoginResp;
import jakarta.servlet.http.HttpServletResponse;

/**
 * MemberService
 *
 * @param
 * @author 南汉卿
 * @return
 * @date 2025/8/3 16:10
 */
public interface MemberService {
    Long count();

    Long register(MemberRegisterReq registerReq);

    //发送短信验证码
    void sendCode(MemberSendCodeReq sendCodeReq);

    MemberLoginResp login(MemberLoginReq loginReq);

    void sendPictureCode(MemberSendCodeReq sendCodeReq, HttpServletResponse response);
}
